<#include "./macro.include"/>

<#assign className = table.className>   
<#assign classNameLower = className?uncap_first> 
package ${basepackage}.entity;

import ${basepackage}.data.BaseEntity;
import javax.validation.constraints.*;
import java.time.*;
import lombok.Getter;
import lombok.Setter;
<#include "./java_imports.include">

/**
 * ${table.alias}
 */
@Getter
@Setter
public class ${className} extends BaseEntity {
	
	<#list table.columns as column>
	/** ${column.alias} */
	private ${column.simpleJavaType} ${column.nameFirstLower};
	</#list>

	<#--
	${column.validatorExpression}
	<@generateConstructor className/>
	<@generateObjectFunctions/>
	<@generateGettersAndSetters/>
	<@generateJavaOneToMany/>
	<@generateJavaManyToOne/>
	-->
}